﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StuRecruitSysModels
{

    public class Student
    {
        public Student()
        {
        }

        #region private property
        private String sno = String.Empty;
        private String sname = String.Empty;
        private String username = String.Empty;
        private String spwd = String.Empty;
        private String email = String.Empty;
        private String sex = String.Empty;
        private byte[] pic;
        private String mname = String.Empty;
        private String sgrade = String.Empty;
        private String sclass = String.Empty;
        private String dormno = String.Empty;
        private String cbbno = String.Empty;
        private String smoney;
        #endregion

        #region public method
        public String Sno
          {
              get { return sno; }
              set { sno = value; }
          }
          public String Sname
          {
              get { return sname; }
              set { sname = value; }
          }
          public String Username
          {
              get { return username; }
              set { username = value; }
          }
          public String Spwd 
          {
              get { return spwd; }
              set { spwd = value; }
          }
          public String Email
          {
              get { return email; }
              set { email = value; }
          }
          public String Sex
          {
              get { return sex; }
              set { sex = value; }
          }
          public byte[] Pic
          {
              get { return pic; }
              set { pic = value; }
          }

          public String Mname
          {
              get { return mname; }
              set { mname = value; }
          }

          public String Sgrade
          {
              get { return sgrade; }
              set { sgrade = value; }
          }
          public String Sclass
          {
              get { return sclass; }
              set { sclass = value; }
          }
          public String Dormno
          {
              get { return dormno; }
              set { dormno = value; }
          }
          public String Cbbno
          {
              get { return cbbno; }
              set { cbbno = value; }
          }
          public String Smoney
          {
              get { return smoney; }
              set { smoney = value; }
          }

        #endregion

    }
}